libxl IDL: generate deep copy functions
authorWei Liu <wei.liu2@citrix.com>
Wed, 9 Jul 2014 09:45:29 +0000 (10:45 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 10 Jul 2014 12:06:55 +0000 (13:06 +0100)
commitf1f1881a195a881748567c69e980518847ce3007
treee4ac5c200ed61518758d792a4cb97a8cac99ba4e
parentde18e4c038306aeeca53e6e63e563036cafef162
libxl IDL: generate deep copy functions

Introduces copy_fn for a type.

For most builtin types we can use direct assignment. For those builtin
types which cannot use direct assignment we use the copy functions in
previous patch.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/gentypes.py
tools/libxl/idl.py
tools/libxl/idl.txt
tools/libxl/libxl_types.idl
tools/libxl/libxl_types_internal.idl